<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<title>首页</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" media="all" th:href="@{/plugins/bootstrap/bootstrap.min.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/plugins/jQuery/jquery.mobile-1.4.5.min.css}" />
<script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script th:src="@{/plugins/bootstrap/bootstrap.min.js}"></script>
<script th:src="@{/plugins/jQuery/moment/moment.min.js}"></script>

<link rel="stylesheet" type="text/css" media="all" th:href="@{/plugins/font-awesome-4.7.0/css/font-awesome.min.css}" />
<link rel="stylesheet" th:href="@{/mobile/common.css}" />
<link rel="stylesheet" th:href="@{/mobile/reset.css}" />
<link rel="stylesheet" th:href="@{/mobile/listView.css}" />
<script th:src="@{/mobile/listView.js}"></script>	
<style type="text/css">
/* tab css */
.tab .nav-tabs {
	border-bottom: 0 none;
	background: #ffffff;
}
.tab .nav-tabs li a {
	background: transparent;
	border-radius: 0;
	font-size: 16px;
	border: none;
	color: #909090;
	padding: 12px 22px;
	text-align: center;
}
.tab .nav-tabs li.active a, .tab .nav-tabs li.active a i {
	border: 0 none;
	color: #F44C31;
}

.tab .nav-tabs li.active{
	border-bottom: 1px solid #F44C31;
}

.tab .tab-content {
	font-size: 14px;
	line-height: 20px;
	margin-top: 2px;
}

.tab .nav-tabs > li {
	float: left;
	margin-bottom: -1px;
	width: 50%;
	height: 100%;
}
</style>

</head>
<body>
	<div data-role="page" id="pageone">
		<div data-role="header" data-position="fixed" data-tap-toggle="true">
			<span class="fa fa-angle-left goHome-dcms"></span>
			<h1>巡检信息</h1>
		</div>
		<input type="hidden" id="identify" th:value="${bussinessId}" />
		<div data-role="main" style="background-color: #F5F5F5;">
			<div id="mailList">
				<div class="tab" role="tabpanel">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#tab1" data-toggle="tab">巡检记录</a></li>
						<li><a href="#tab2" data-toggle="tab">巡检历史</a></li>
					</ul>
					<div class="tab-content">
						<div class="tab-pane fade in active" id="tab1">
							<ul data-role="listview" id="unCheckedInspections" data-inset="true" data-listView-theme="a" data-pic-show="true" data-class="hrefClick">
							</ul>
						</div>
						<div class="tab-pane fade" id="tab2">
							<ul data-role="listview" id="checkedInspections" data-inset="true" data-listView-theme="a" data-pic-show="true" data-class="hrefClick"></ul>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div data-role="footer" data-position="fixed" data-theme="a">
			<!-- <h1>
				<input id="saveInspectBtn" class="btn btn-primary btn-sm"
					type="button" data-inline="false" value="填写巡检报告" />
			</h1> -->
			<center>
				<input id="saveInspectBtn" type="submit" data-inline="false"
					value="填写巡检报告"
					style="background: #F8643F !important; border: 1px solid; border-color:#FA977E; border-radius: 6px !important; color: #FFFFFF; width: 98%; height: 38px;font-size:16px;" />
			</center>
		</div>
	</div>
	
	<!-- 面板 -->
	<div data-role="page" id="detailInspectPage" tyle='background-color: #F5F5F5; background-size: cover'>
		<div data-role="header" data-position="fixed" data-tap-toggle="true" data-theme="a">
			<span><a href="#pageone" data-transition="slide" data-direction="reverse" class="pageBack" ><span class="fa fa-angle-left headleft"></span> </a></span>
			<h1>详情查看</h1>
		</div>
		<div data-role="main" style="background-color: #F5F5F5;">
			<ul data-role="listview">
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>商户名称</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="bussinessName"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>商户地址</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="bussiessAddr"></div>
						</div>
					</div>
				</li>	
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>商户管理员</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="bussinessMng"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>巡检内容</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="remark"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>巡检情况</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="inspectCondition"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>巡检时间</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="inspectDate"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>巡检人</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="inspectPerson"></div>
						</div>
					</div>
				</li>
			</ul>
			<img src="" id="avatartI" style="width: 100%;margin-top: 20px;" />
			<ul data-role="listview" id="xmxqList" data-inset="true" data-listView-theme="d" data-pic-show="true" data-class="xmxqClick">
				<li data-role="list-divider" class="list-divider-ui">项目详情</li>
			</ul>
			
		</div>
		<div data-role="popup" id="pop">
			<a href="#" id="backloadingimg" data-rel="back"
				class="ui-btn ui-btn-a ui-icon-delete ui-btn-icon-notext ui-corner-all ui-shadow ui-btn-right">关闭</a><!-- data-rel="back" -->
			<img src="" id="avatarbig" style="width: 100%" />
		</div>
	</div>
	<script th:src="@{/mobile/common.js}"></script>
	<script th:src="@{/mobile/bussinessInspection/indexOnPhone.js}"></script>
	<script th:inline="javascript">
		window.rootPath= /*[[${#httpServletRequest.getContextPath()}]]*/
	</script>
</body>
</html>